package com.zjx.springcloud.service.dept;


import com.zjx.springcloud.entities.ResultVO;
import com.zjx.springcloud.entities.test.Test;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "cloud-dept",fallbackFactory = DeptClientFallbackFactory.class)
public interface DeptClientService {



    @RequestMapping(value = "/dept/queryAll")
    public ResultVO queryAll(Test dept);
}
